<?php
// config/session.php
// 这里直接从laravel中copy过来了，并且使用了file驱动，当然你也可以使用其他驱动，详细配置请查阅laravel官方文档
return [
    'driver' => env('MAIL_DRIVER'),//驱动
    'host' => env('MAIL_HOST'), //邮件地址
    'port' => env('MAIL_PORT'), //端口
    'encryption' => env('MAIL_ENCRYPTION'), //同上 一般是tls或ssl
    'username' => env('MAIL_USERNAME'),
    'password' => env('MAIL_PASSWORD'),
    'from' => [
        'address' => env('MAIL_FROM_ADDRESS'),
        'name' => env('MAIL_FROM_NAME'),
    ],
];